//
//  LIkeDetailViewController.m
//  YouGoWeGo
//
//  Created by Dai on 14/11/19.
//  Copyright (c) 2014年 LiuFei. All rights reserved.
//

#import "LIkeDetailViewController.h"

@interface LIkeDetailViewController ()

@end

@implementation LIkeDetailViewController
- (void)dealloc
{
    [_image release];
    [_NameLabel release];
    [super dealloc];
}
- (instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        
    }
    return self;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationController.navigationBar.translucent = NO;
    [self.view setBackgroundColor:[UIColor whiteColor]];
    [self creatValue];
    
    
}
- (void)creatValue
{
    self.image = [[UIImageView alloc] initWithFrame:CGRectMake(10, 10, self.view.frame.size.width - 20, self.view.frame.size.height - 20 - 45 - 65)];
    [_image setBackgroundColor:[UIColor yellowColor]];
    [self.view addSubview:_image];
    [_image release];
    
    self.NameLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 100, 30)];
    [self.navigationItem setTitle:@"_NameLabel.Text"];
    [_NameLabel release];
    
    

}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
